package com.link.gateway.core.comproperty;

/**
 * @author guoshan
 * @date  2019/08/05
 * 处理请求和响应用到的常量
 */
public class ReqAndRespConstants {
    //请求体在exchange属性中的键
    public static final String CACHE_REQUEST_BODY_KEY = "cachedRequestBody";
    //token范围
    public static final String TOKEN_SCOPE = "scope";
    //当前用户
    public static final String CURRENT_USER = "currentUser";

    //是否记录请求体标识
    public static final String RECORD_RESPONSE_BODY_FLAG = "recordRespBody";
    //是否记录请求体标识
    public static final String RECORD_REQUEST_BODY_FLAG = "recordRequestBody";

    public static final String REQUEST_URL = "requestUrl";

    public static final String REQUEST_START_TIME_KEY = "startTime";
}
